import 'package:flutter/material.dart';
import './component/select/selectAnimation.dart';

List<String> lists = ['选择1', '选择2', '选择3'];

Function _tapCb = (String text) => print(text);

class MyPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('各种容器集合'),
      ),
      body: Column(
        children: <Widget>[
          SelectAnimation(lists: lists, tapCb: _tapCb),
          SelectAnimation(lists: lists, tapCb: _tapCb),
          SelectAnimation(lists: lists, tapCb: _tapCb)
        ],
      ),
    );
  }
}
// Widget myPage () => MaterialApp(
//   title: '测试检测',
//   home: Scaffold(
//     body: Container(
//       child: const Text('caa')
//     )
//   ),
// );
